package com.bit.frige.DB;

import java.io.Serializable;


public class FoodDTO implements Serializable {
	int id;
	int place;
	int cateno;
	String foodname;
	int selflife;
	String selfdate;
	String buydate;
	int alarm;
	public FoodDTO(){}
	
	//식품정보 테이블
	public FoodDTO(int id, int cateno, String foodname, int selflife) {
		super();
		this.id = id;
		this.cateno = cateno;
		this.foodname = foodname;
		this.selflife = selflife;
	}

	public FoodDTO(int id, int place, int cateno, String foodname,
			String selfdate, String buydate) {
		super();
		this.id = id;
		this.place = place;
		this.cateno = cateno;
		this.foodname = foodname;
		this.selfdate = selfdate;
		this.buydate = buydate;
	}

	public FoodDTO(int cateno, String foodname, int selflife) {
		super();
		this.cateno = cateno;
		this.foodname = foodname;
		this.selflife = selflife;
	}

	public String getSelfdate() {
		return selfdate;
	}

	public void setSelfdate(String selfdate) {
		this.selfdate = selfdate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPlace() {
		return place;
	}

	public void setPlace(int place) {
		this.place = place;
	}

	public int getCateno() {
		return cateno;
	}

	public void setCateno(int cateno) {
		this.cateno = cateno;
	}

	public String getFoodname() {
		return foodname;
	}

	public void setFoodname(String foodname) {
		this.foodname = foodname;
	}

	public int getSelflife() {
		return selflife;
	}

	public void setSelflife(int selflife) {
		this.selflife = selflife;
	}

	public String getBuydate() {
		return buydate;
	}

	public void setBuydate(String buydate) {
		this.buydate = buydate;
	}

	public int getAlarm() {
		return alarm;
	}

	public void setAlarm(int alarm) {
		this.alarm = alarm;
	}

}
